package com.service;

import com.dto.BaseDto;
import com.entity.Condition;
import com.entity.Comment;
import com.page.PageInfo;

import java.text.ParseException;
import java.util.List;

public interface CommentService {

    public BaseDto getCommentByCmpid(Integer cmpid)throws Exception;
    public BaseDto add(Comment comment)throws Exception;
    public BaseDto update(Comment comment)throws Exception;
    public BaseDto getCommentsByPage(PageInfo pageInfo, String cacheId);

}
